KERNEL_DIR=/lib/modules/$(shell uname -r)/build
PWD	:= $(shell pwd)

all:
	make -C $(KERNEL_DIR) M=$(PWD) modules

clean:
	make -C $(KERNEL_DIR) M=$(PWD) clean
	rm -rf modules.order
	rm -rf *.ko
	rm -rf *.o

obj-m += yk_test_char_01.o